﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace HBASite
{
    public partial class HBAMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void lblFooterHome_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Home.aspx");
        }

        protected void lblFooterCreate_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/CreateAccount.aspx");
        }

        protected void lbFooterLogin_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/AccessPoint.aspx");
        }

        protected void lbFooterDown_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Downloads.aspx");
        }

        protected void lbFooterLogout_Click(object sender, EventArgs e)
        {
            AdminLog.CURR_USER = AdminLog.DEFAULT_USER;
            AdminLog.AdminLogSet(DateTime.Now.ToString(), AdminLog.CURR_USER, "Client logged out");
            FormsAuthentication.SignOut();
            Response.Redirect("~/Home.aspx");
        }

        protected void lbFooterAbout_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/AboutUs.aspx");
        }
    }
}
